package com.water.wfo.user.ability;

import com.baomidou.mybatisplus.extension.service.IService;
import com.water.wfo.sys.pojo.entity.BulletinEntiy;
import com.water.wfo.sys.pojo.request.DataDictionaryRequest;
import com.water.wfo.sys.pojo.response.DataDictionaryResponse;
import com.water.wfo.sys.pojo.response.ParameterResponse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 系统公告表 服务类
 * </p>
 *
 * @author water&7
 * @since 2024-07-24
 */
public interface BulletinAbility {

    int insert(BulletinEntiy entity);
    int update(BulletinEntiy entity);

    BulletinEntiy selectById(@Param("id") Long id);

    BulletinEntiy selectByEntity(BulletinEntiy entiy);

    ParameterResponse queryBulletinListBy(DataDictionaryRequest entity);

    int deleteBatchByIds(List<Long> list);
}
